//
//  WHRegistrationListVC.m
//  WHEasyBizLink
//
//  Created by ShengMeng on 9/30/25.
//

#import "WHRegistrationListVC.h"
#import "WHRegistrationListCell.h"
#import "WHRegistrationListModel.h"

@interface WHRegistrationListVC ()

@end

@implementation WHRegistrationListVC

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.title = @"钓手列表";
}


-(void)loadDatas
{
    [super loadDatas];
    
    self.datas =[NSMutableArray arrayWithArray:[WHRegistrationListModel getModels]];
    
}

#pragma mark - <tableViewDelegate>
- (UITableViewCell *)tableView:(UITableView *)tableView
         cellForRowAtIndexPath:(NSIndexPath *)indexPath{
   
    WHRegistrationListCell *cell = [WHRegistrationListCell
                                     createReuseIdentifier:@"WHRegistrationListCellID" WithTableView:tableView];
    
    cell.model = self.datas[indexPath.row];
    return cell;
}

- (CGFloat)tableView:(UITableView *)tableView
 heightForRowAtIndexPath:(NSIndexPath *)indexPath{
    return 60;
}



@end
